-- =============================================
-- Author:		Rodrigo Martins
-- Create date: 23/09/2013
-- Description:	Alterar Maquina
-- =============================================
CREATE PROCEDURE ai_sp_alterarMaquina
	@id int,
	@id_academia int,
	@descricao varchar(255),
	@foto varchar(255)
AS
BEGIN
	UPDATE [Maquina]
	SET [id] = @id
      ,[descricao] = @descricao
      ,[foto] = @foto

	WHERE @id = id
END
GO
